

package Action;

import UI.Game;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;


public class KeyInput extends KeyAdapter {
    private Game game;
    
    public KeyInput(Game _game) {
        game = _game;
    }
    
    @Override
    public void keyPressed(KeyEvent e) {
        game.keyPressed(e);
    }
    
    @Override
    public void keyReleased(KeyEvent e) {
        game.keyReleased(e);
    }
    
    
    
}
